﻿using System.Text.Json.Serialization;

namespace Acme.ELeMe.SDK.Response
{
    [JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
    public class SkuCreateResult
    {
        public long? brand_id { get; set; }

        public long? cat1_id { get; set; }

        public long? cat2_id { get; set; }

        public long? cat3_id { get; set; }

        public string? name { get; set; }

        public string? upc { get; set; }

        public long? item_Id { get; set; }

        public List<SkuSpecResult>? sku_spec_result { get; set; }
    }

    //[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
    //public class SkuUpdateData
    //{
    //    public long? brand_id { get; set; }

    //    public long? cat1_id { get; set; }

    //    public long? cat2_id { get; set; }

    //    public long? cat3_id { get; set; }

    //    public string? name { get; set; }

    //    public string? upc { get; set; }

    //    public long? item_Id { get; set; }

    //    public List<SkuSpecResult>? sku_spec_result { get; set; }
    //}

    [JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
    public class SkuSpecResult
    {
        public string? upc { get; set; }

        public string? sku_spec_id { get; set; }

        public string? sku_spec_custom_id { get; set; }
    }
}
